package com.sf.fy.uav.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 订单商品关联表
 * </p>
 *
 * @author LTQ
 * @since 2024-08-27
 */
@TableName("coupon_activity_detail")
@ApiModel(value = "CouponActivityRecord对象", description = "订单商品关联表")
public class CouponActivityDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private Date createTime;

    private Date updateTime;

    @ApiModelProperty("优惠券活动id")
    private String couponActivityId;

    @ApiModelProperty("优惠券id")
    private String couponId;

    @ApiModelProperty("发放数量")
    private Integer cnt;


    @ApiModelProperty("优惠券名称")
    private String couponName;


    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getCouponActivityId() {
        return couponActivityId;
    }

    public void setCouponActivityId(String couponActivityId) {
        this.couponActivityId = couponActivityId;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public Integer getCnt() {
        return cnt;
    }

    public void setCnt(Integer cnt) {
        this.cnt = cnt;
    }

    @Override
    public String toString() {
        return "CouponActivityRecord{" +
                "id = " + id +
                ", createTime = " + createTime +
                ", updateTime = " + updateTime +
                ", couponActivityId = " + couponActivityId +
                ", couponId = " + couponId +
                ", cnt = " + cnt +
                "}";
    }
}
